using System;

namespace Portal.Workflow.Model
{
	/// <summary>
	/// Summary description for WorkFlowDefCls.
	/// </summary>
	public class WorkFlowDefCls
	{
		public string WorkFlowDefId=System.Guid.NewGuid().ToString();
        public string XmlWorkflowData = "";
		public string WorkFlowName="Workflow name";
		public string Version="1.0";
        public string Office = "";
		public string ReleasedDate=System.DateTime.Now.ToString("dd MMM yyyy");
        public string WebServiceUrl = "";
        public string DllWfServiceId = "";
        public string SaveFile = "";
        public int DeleteBeforeNext = 0;

		public WorkFlowDefCls(
			string _WorkFlowDefId, 
			string _WorkFlowName, 
            string _Version, 
            string _ReleasedDate,
            string _Office,
            string _WebServiceUrl,
            int    _DeleteBeforeNext,
            string _SaveFile)
		{
			WorkFlowDefId = _WorkFlowDefId;
			WorkFlowName = _WorkFlowName;
			Version = _Version;
			ReleasedDate = _ReleasedDate;
            DeleteBeforeNext = _DeleteBeforeNext;
            Office = _Office;
            WebServiceUrl = _WebServiceUrl;
            SaveFile = _SaveFile;
		}

		public WorkFlowDefCls()
		{
		}
	}
}
